students = []

with open('data.txt', 'r', encoding='utf-8') as f:
    lines = f.readlines()

    for item in lines:
        tokens = item.split(' ')  # 字符串分割

        # 删除tokens[2]里面的\n
        tokens[2] = tokens[2].replace('\n', '')

        students.append(tokens)

print(students)
